Platform Core .NET Assemblies API
FetchFromDB(EntitySchemaColumn,Object,IEnumerable<EntitySchemaColumn>,Boolean) Method
See Also  Send Feedback
Terrasoft.Core.Entities Namespace > Entity Class > FetchFromDB Method : FetchFromDB(EntitySchemaColumn,Object,IEnumerable<EntitySchemaColumn>,Boolean) Method
conditionColumn
Query condition column name.
conditionValue
Query condition column value.
columnsToFetch
Collection of columns to fetch.
useDisplayValues
Indicate whether to get primary display values. If true primary display values will be fetched.

Glossary Item Box

Fetches entity from database by specified condition column, condition value and columns to fetch.

Syntax

 
C#
 
 

Parameters

conditionColumn
Query condition column name.
conditionValue
Query condition column value.
columnsToFetch
Collection of columns to fetch.
useDisplayValues
Indicate whether to get primary display values. If true primary display values will be fetched.

Return Value

true if entity loaded. Otherwise returns false.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© Terrasoft 2002-2018.